package com.zt.feign;

import com.zt.user.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("bank-user")
public interface UserFeign {
    //    查询用户信息
    @GetMapping("/user/getUserInfoById")
    public UserInfo getUserInfoById(@RequestParam("userId") Integer userId);
}
